package com.rybbaby.tss.front.tssDeposit.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @description 考勤相关视图
 *
 * @author 何朝一
 *
 * @createDate 2017-08-24 上午12:04:35
 */
@Entity
@Table(name = "view_tss_deposit_student_staff")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewDepositStaffStudent implements Serializable {


	/** 主键 **/
	private String id;
	/** 会员Id **/
	private String depositStudentId;
	/** 定金金额 **/
	private String depositAmount;
	/** 当前操作者Id **/
	private String depositadminUserId;
	/** 订金编号 **/
	private String depositNumber;
	/** 是否删除 **/
	private Integer depositIsDelete;
	/** 备注 **/
	private String depositRemark;
	/** 缴费时间 **/
	private java.util.Date depositCreateTime;
	/** 版本 **/
	private Integer depositVersion;
	/** 用户姓名 **/
	private String studentName;
	/** 用户电话 **/
	private String studentContactPhone;
	/** 操作人姓名 **/
	private String realName;



	@Id
	@GeneratedValue(generator = "tss_member_packageIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "tss_member_packageIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "depositStudentId", nullable= true, length = 32)
	public String getDepositStudentId() {
		return depositStudentId;
	}

	public void setDepositStudentId(String depositStudentId) {
		this.depositStudentId = depositStudentId;
	}

	@Column(name = "depositAmount", nullable= true, length = 32)
	public String getDepositAmount() {
		return depositAmount;
	}

	public void setDepositAmount(String depositAmount) {
		this.depositAmount = depositAmount;
	}

	@Column(name = "depositadminUserId", nullable= true, length = 32)
	public String getDepositadminUserId() {
		return depositadminUserId;
	}

	public void setDepositadminUserId(String depositadminUserId) {
		this.depositadminUserId = depositadminUserId;
	}

	@Column(name = "depositNumber", nullable= true, length = 50)
	public String getDepositNumber() {
		return depositNumber;
	}

	public void setDepositNumber(String depositNumber) {
		this.depositNumber = depositNumber;
	}

	@Column(name = "depositIsDelete", nullable= true, length = 1)
	public Integer getDepositIsDelete() {
		return depositIsDelete;
	}

	public void setDepositIsDelete(Integer depositIsDelete) {
		this.depositIsDelete = depositIsDelete;
	}

	@Column(name = "depositRemark", nullable= true, length = 500)
	public String getDepositRemark() {
		return depositRemark;
	}

	public void setDepositRemark(String depositRemark) {
		this.depositRemark = depositRemark;
	}

	@Column(name = "depositCreateTime", nullable= true)
	public Date getDepositCreateTime() {
		return depositCreateTime;
	}

	public void setDepositCreateTime(Date depositCreateTime) {
		this.depositCreateTime = depositCreateTime;
	}

	@Column(name = "depositVersion", nullable= true, length = 11)
	public Integer getDepositVersion() {
		return depositVersion;
	}

	public void setDepositVersion(Integer depositVersion) {
		this.depositVersion = depositVersion;
	}

	@Column(name = "studentName", nullable= true, length = 32)
	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	@Column(name = "realName", nullable= true, length = 11)
	public String getStaffName() {
		return realName;
	}

	public void setStaffName(String realName) {
		this.realName = realName;
	}

	@Column(name = "studentContactPhone", nullable= true, length = 11)
	public String getStudentContactPhone() {
		return studentContactPhone;
	}

	public void setStudentContactPhone(String studentContactPhone) {
		this.studentContactPhone = studentContactPhone;
	}



}